package example.common.property;

import java.beans.PropertyEditorSupport;
import java.sql.Time;

public class TimePropertyEditor extends PropertyEditorSupport {
	@Override
	public void setAsText(String text) throws IllegalArgumentException {
		this.setValue(Time.valueOf(text));
	}
	
	@Override
	public String getAsText() {
		return String.valueOf(getValue());
	}
}
